package com.ruoyi.myplayer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频对象 player_video
 * 
 * @author ruoyi
 * @date 2025-04-12
 */
public class PlayerVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 区域类型编号 */
    @Excel(name = "区域类型编号")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 歌手 */
    @Excel(name = "歌手")
    private String singer;

    /** 连接地址 */
    @Excel(name = "连接地址")
    private String url;

    /** 预览图 */
    @Excel(name = "预览图")
    private String img;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long del;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 时长 */
    @Excel(name = "时长")
    private String timer;

    /** 歌手id */
    @Excel(name = "歌手id")
    private Long singerId;

    /** 歌曲热度 */
    @Excel(name = "歌曲热度")
    private Long heat;

    /** 发表时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发表时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    /** 0否  1是，损坏，无法使用 */
    @Excel(name = "0否  1是，损坏，无法使用")
    private Long reUpdate;

    /** 破损更新守护地址 */
    @Excel(name = "破损更新守护地址")
    private String reGuradUrl;

    /** 更新次数 */
    @Excel(name = "更新次数")
    private Long reNum;

    /** 第三方序列 */
    @Excel(name = "第三方序列")
    private String onkey;

    /** 清晰度 */
    @Excel(name = "清晰度")
    private String autoName;

    /** 歌曲id */
    @Excel(name = "歌曲id")
    private Long songId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSinger(String singer) 
    {
        this.singer = singer;
    }

    public String getSinger() 
    {
        return singer;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setTimer(String timer) 
    {
        this.timer = timer;
    }

    public String getTimer() 
    {
        return timer;
    }
    public void setSingerId(Long singerId) 
    {
        this.singerId = singerId;
    }

    public Long getSingerId() 
    {
        return singerId;
    }
    public void setHeat(Long heat) 
    {
        this.heat = heat;
    }

    public Long getHeat() 
    {
        return heat;
    }
    public void setPublishDate(Date publishDate) 
    {
        this.publishDate = publishDate;
    }

    public Date getPublishDate() 
    {
        return publishDate;
    }
    public void setReUpdate(Long reUpdate) 
    {
        this.reUpdate = reUpdate;
    }

    public Long getReUpdate() 
    {
        return reUpdate;
    }
    public void setReGuradUrl(String reGuradUrl) 
    {
        this.reGuradUrl = reGuradUrl;
    }

    public String getReGuradUrl() 
    {
        return reGuradUrl;
    }
    public void setReNum(Long reNum) 
    {
        this.reNum = reNum;
    }

    public Long getReNum() 
    {
        return reNum;
    }
    public void setOnkey(String onkey) 
    {
        this.onkey = onkey;
    }

    public String getOnkey() 
    {
        return onkey;
    }
    public void setAutoName(String autoName) 
    {
        this.autoName = autoName;
    }

    public String getAutoName() 
    {
        return autoName;
    }
    public void setSongId(Long songId) 
    {
        this.songId = songId;
    }

    public Long getSongId() 
    {
        return songId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("title", getTitle())
            .append("singer", getSinger())
            .append("url", getUrl())
            .append("img", getImg())
            .append("del", getDel())
            .append("sort", getSort())
            .append("timer", getTimer())
            .append("singerId", getSingerId())
            .append("heat", getHeat())
            .append("createTime", getCreateTime())
            .append("publishDate", getPublishDate())
            .append("reUpdate", getReUpdate())
            .append("reGuradUrl", getReGuradUrl())
            .append("reNum", getReNum())
            .append("onkey", getOnkey())
            .append("autoName", getAutoName())
            .append("songId", getSongId())
            .toString();
    }
}
